package dao;
import tool.RowMapper;
import tool.BaseDao;
import java.util.List;
import java.sql.SQLException;
import java.sql.ResultSet;
import entity.PicturetbEntity;
import dao.mapper.PicturetbDAOI;

/**
*@author JiangFan
*/
public class PicturetbDAO extends BaseDao implements PicturetbDAOI {

}
class PicturetbRowMapper implements RowMapper<PicturetbEntity>{
	@Override
	public PicturetbEntity rowmap(ResultSet set) throws  SQLException{
		return new PicturetbEntity(
			set.getString("picture_id"),
			set.getString("picture_type"),
			set.getString("picture_note"),
			set.getString("goods_id"),
			set.getString("advertising_id")
		);
	}
}
